package edu.school.service;

import com.github.pagehelper.PageInfo;
import edu.school.entity.User;
import org.springframework.ui.Model;

/**
 * @author kabuda
 * @create 2023-09-30 19:32
 */
public interface UserService {
    public boolean register(User user);
    PageInfo<User> pageList(Integer pageNumber, Integer pageSize,User user);

    User findById(Integer id);

    boolean edit(User user);

    boolean delete(Integer id);

    boolean deletemany(int[] ids);

    User login(User user);
}
